package edu.ntu.im.p2ptrade.action;

import javax.servlet.http.HttpServletRequest;

import edu.ntu.im.p2ptrade.Util;
import edu.ntu.im.p2ptrade.msg.QueryItem;

public class RefreshPeerItems extends AjaxAction {

	@Override
	public AjaxResponse execute(HttpServletRequest request) {
		String peer = request.getParameter("peer");
		QueryItem qi = new QueryItem();
		Util.transdferMessageToPeer(qi.getMessageToTransfer(), peer);
		return success();
	}

}
